Elm Syntax Highlighting
Syntax Highlighting for Elm in Sublime Text
Details
Installs
- Total 29K
- Win 9K
- Mac 15K
- Linux 6K
Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 3 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 2 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Elm Syntax Highlighting
Just add syntax highlighting for Elm.
Install Instructions
Recommended Workflow
I do all of my Elm development with Terminal and Sublime Text open next to each other like this:
I mostly focus on the code in Sublime Text.
When I am curious if things work, I switch to Terminal and run something like elm make src/Main.elm
to see if I get any errors.
Then I switch back to Sublime Text and use Ctrl-t (or Cmd-t on Mac) to navigate to the relevant files and make any fixes.
Workflow Benefits
The recommended workflow has some underappreciated benefits:
- Fast - Never wait for a slow editor. No background tasks eating RAM and CPU.
- Flexibile - Some projects needs more than an
elm make
call. I can switch toelm reactor
or a custom./build.sh
script and keep essentially the same workflow. - Robust - Not much can go wrong here, so I never spend time messing with integrations. Changes in
elm
,elm-test
, orelm-format
are only a concern in the terminal.
I really love this balance! It has that particular character of focused designs.
That said, I know some people want a bit more, so I made elm-format-on-save
as well. It may be worth setting this up once you have been happily using Elm for a while and become curious what it might be like to use Elm at work.